package com.kun.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@Getter
@Setter
@ToString
@NoArgsConstructor
@TableName(value ="trade_mq_producer_temp")
public class TradeMqProducerTemp {
    /**
     *
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     *
     */
    private String groupName;

    /**
     *
     */
    private String msgTopic;

    /**
     *
     */
    private String msgTag;

    /**
     *
     */
    private String msgKey;

    /**
     *
     */
    private String msgBody;

    /**
     * 0:未处理;1:已经处理
     */
    private Integer msgStatus;

    /**
     *
     */
    private Date createTime;

    public TradeMqProducerTemp(String groupName, String msgTopic, String msgTag, String msgKey, String msgBody, Date createTime) {
        this.groupName = groupName;
        this.msgTopic = msgTopic;
        this.msgTag = msgTag;
        this.msgKey = msgKey;
        this.msgBody = msgBody;
        this.createTime = createTime;
    }
}
